<?php

return [
    'application' => [
        'id'        => '美粒儿',
        'cryptKey'  => 'c4a79eb4e295b396320bff5308355eeb',
        'domainPic'    => 'http://img.meelier.com/'
    ],
    'database' => include __DIR__ . '/../base-config/database.php',
    'gearman' => [
        '127.0.0.1:4730'
    ],
    'modules' => [
        'frontend' => [
            'className' => 'Apps\Frontend\Module',
            'path' => APP_MODULES_PATH . 'frontend/Module.php'
        ],
        'manage' => [
            'className' => 'Apps\Manage\Module',
            'path' => APP_MODULES_PATH . 'manage/Module.php'
        ],
        'csoap' => [
            'className' => 'Apps\Csoap\Module',
            'path' => APP_MODULES_PATH . 'csoap/Module.php'
        ],
    ],
    'urlMap' => [
        'baseUri'       => '/',
        'routers'       => include __DIR__ . '/routers.php',
    ],
    'logger' => [
        'path'      => '/data/logs/web.meelier.com.{{date}}.log',
        'sqlPath'   => '/data/logs/web.meelier.com.sql.{{date}}.log',
        'formatter' => '%date%[%type%] - %message%',
    ],
    'cookie' => [
        'encry'         => true, // 是否加密
        'cryptKey'      => 'c4a79eb4e295b396320bff5308355eeb' //加密密钥
    ],
    'aliyun' => include __DIR__ . '/../base-config/aliyun.php',
    'amap' => [
        'lbs_cloud' => [
            'key'       => '0e4af6ad4b95861e5ff240f3229a1671',
            'sign_key'  => '4bc15298fb2add5b5db415bdaa318cc4',
            'table_id'  => '569718ab7bbf1924a3ebadd2',//开发地图'55f29126e4b0cc124e13c578'
            'log_table_name' => 'beauty_parlor_amap_sync_log',
        ]
    ],
    'burl' => include __DIR__ . '/../base-config/smaurl.php',
];
